Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing Android constant #627

Merged
merged 1 commit into from
Jun 24, 2017
Merged

Add missing Android constant #627

merged 1 commit into from
Jun 24, 2017

Conversation

GabrielMajeri
Copy link
Contributor

This pull requests add the _SC_NPROCESSORS_CONF constant to libc for Android targets. The similar _SC_NPROCESSORS_ONLN already existed.

The reason for adding only this constant is to help fix an issue with num_cpus.

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Jun 24, 2017

📌 Commit 93f897a has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jun 24, 2017

⌛ Testing commit 93f897a with merge 2f28640...

bors added a commit that referenced this pull request Jun 24, 2017
Add missing Android constant

This pull requests add the `_SC_NPROCESSORS_CONF` constant to `libc` for Android targets. The similar `_SC_NPROCESSORS_ONLN` already existed.

The reason for adding only this constant is to help fix an [issue with `num_cpus`](seanmonstar/num_cpus#34).
@bors
Copy link
Contributor

bors commented Jun 24, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2f28640 to master...

@bors bors merged commit 93f897a into rust-lang:master Jun 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants